"Right click disable on all pages of website"
Bootstrap 3.0.0 Snippet by Rajnesh Prajapati

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>disable right click on full website </h2> <h4>copy all java script code to your page footer section</h4> </div> </div>
<script> /* right click disable*/ $(function() { $(document).bind("contextmenu", function(n) { n.preventDefault(); alert("\nHello World") }) }); /* right click disable */ </script>

Related: See More


Questions / Comments: